<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="./js/form.js"></script>
  <link rel="stylesheet" href="css/main.css">
  <title>Document</title>
</head>

<body>
  <div id="head">
    <table cellspacing="0" class="headtable" border="0">
      <tr>
        <td>
          <a href="#">
            <img src="images/logo.png" alt="" width="200" height="60">
          </a>
        </td>
        <td style="text-align: right;">
          <img src="images/cart.gif" alt="" width="26" height="23" style="margin-bottom: -4px;">&nbsp;<a href="#">购物车</a> | <a href="#">帮助中心</a> |
          <a href="#">我的账户</a> | <a href="register.html">新用户注册</a>
        </td>
      </tr>
    </table>
  </div>

  <div id="divmenu">
    <a href="#">文学</a>
    <a href="#">生活</a>
    <a href="#">计算机</a>
    <a href="#">外语</a>
    <a href="#">经管</a>
    <a href="#">励志</a>
    <a href="#">社科</a>
    <a href="#">学术</a>
    <a href="#">少儿</a>
    <a href="#">艺术</a>
    <a href="#">原版</a>
    <a href="#">科技</a>
    <a href="#">考试</a>
    <a href="#">生活百科</a>
    <a href="#" style="color: #ff0;">全部商品目录</a>
  </div>

  <div id="divsearch">
    <form action="#" id="searchform">
      <table width="100%" border="0" cellspacing="0">
        <tr>
          <td style="text-align: right;padding-right: 220px;">
            Search
            <input type="text" name="textfield" class="inputtable" id="textfield" value="请输入书名" onmouseover="this.focus();" onclick="my_click(this,'textfield');" onblur="my_blur(this,'textfield');" />
            <a href="#">
              <img src="images/serchbutton.gif" alt="" border="0" style="margin-bottom: -4px;" onclick="search()" />
            </a>
          </td>
        </tr>
      </table>
    </form>
  </div>

  <!-- <div id="box_autoplay">
        <div class="list">
            <ul>
                <li><img src="ad/index_ad1.jpg" width="900" height="335"></li>
                <li><img src="ad/index_ad2.jpg" width="900" height="335"></li>
                <li><img src="ad/index_ad3.jpg" width="900" height="335"></li>
                <li><img src="ad/index_ad4.jpg" width="900" height="335"></li>
                <li><img src="ad/index_ad5.jpg" width="900" height="335"></li>
            </ul>
        </div>
    </div> -->

  <!-- 传智书城注册 -->
  <div id="divcontent" align="center">
    <!-- 提交页面 -->
    <form action="registersuccess.html" method="POST" onsubmit="return checkForm();">
      <table width="850px" border="0" cellspacing="0">
        <tr>
          <td style="padding: 30px;">
            <h1>新会员注册</h1>
            <table width="70%" border="0" cellspacing="2" class="upline">
              <tr>
                <td style="text-align: right;width: 20%;">会员邮箱:</td>
                <td style="width: 40%;">
                  <input type="text" class="textinput" id="email" name="email" onkeyup="checkEmail()">
                </td>
                <td colspan="2">
                  <span id="emailMsg"></span>
                  <font color="#999999">请输入有效的邮箱地址</font>
                </td>
              </tr>
              <tr>
                <td style="text-align: right;">会员名:</td>
                <td>
                  <input type="text" class="username" name="username" id="username" onkeyup="checkUsername()">
                </td>
                <td colspan="2">
                  <span id="usernameMsg"></span>
                  <font color="#999999">字母数字下划线1到10位，不能是数字开头</font>
                </td>
              </tr>
              <tr>
                <td style="text-align: right;">密码:</td>
                <td>
                  <input type="password" class="textinput" name="password" id="password" onkeyup="checkPassword()">
                </td>
                <td>
                  <span id="passwordMsg"></span>
                  <font color="#999999">密码请设置6-16位字符</font>
                </td>
              </tr>
              <tr>
                <td style="text-align: right;">重复密码:</td>
                <td>
                  <input type="password" class="textinput" name="repassword" id="repassword" onkeyup="checkConfirm()">
                </td>
                <td>
                  <span id="confirmMsg"></span>&nbsp;
                </td>
              </tr>
              <tr>
                <td style="text-align: right;">性别:</td>
                <td colspan="2">&nbsp;&nbsp;
                  <input type="radio" name="gender" value="男" checked="checked" /> 男 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="radio" name="gender" value="女" /> 女
                </td>
                <td>
                  &nbsp;
                </td>
              </tr>
              <tr>
                <td style="text-align: right;">联系电话:</td>
                <td colspan="2">
                  <input type="text" class="textinput" style="width: 350px;" name="telephone" id="">
                </td>
                <td>
                  &nbsp;
                </td>
              </tr>
              <tr>
                <td style="text-align: right;">个人介绍:</td>
                <td colspan="2">
                  <textarea class="textarea" name="introduce" cols="47" rows="10"></textarea>
                </td>
                <td>
                  &nbsp;
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <input type="submit" value="" style="background: url(./images/signupbutton.gif) no-repeat;width: 204px;height: 51px;position: relative;right: 183px;">
    </form>
  </div>

  <div id="divfoot">
    <table width="100%" border="0" cellspacing="0">
      <tr>
        <td rowspan="2" style="width: 10%;">
          <img src="images/logo.png" width="195" height="50" style="margin-left: 175px;" alt="">
        </td>
        <td style="padding-top: 5px; padding-left: 50px;">
          <a href="#">
            <font color="#747556"><b>CONTACT US</b></font>
          </a>
        </td>
      </tr>
      <tr>
        <td style="padding-left: 50px;">
          <font color="#CCCCCC"><b>COPYRIGHT 2015 &copy; BookStore All Rights RESERVED.</b></font>
        </td>
      </tr>
    </table>
  </div>

</body>

</html>